home *** CD-ROM | disk | FTP | other *** search
/ Nejlepší České Hry / Nej české hry.iso / hry / vesmirna becherovka / 2004 Vesmírná Becherovka / Becherovka.exe / scripts / DefineSprite_124 / frame_16 / DoAction.as
Encoding:
Text File  |  2004-09-30  |  841 b   |  49 lines

  1. if(index != 100)
  2. {
  3.    pom = eval("item" + index).scena;
  4.    if(pom == "Scena1")
  5.    {
  6.       tellTarget(_root)
  7.       {
  8.          gotoAndStop("Scena1");
  9.       }
  10.    }
  11.    else if(pom == "Scena3")
  12.    {
  13.       tellTarget(_root)
  14.       {
  15.          gotoAndStop("Scena3");
  16.       }
  17.    }
  18.    else if(pom == "Scena4")
  19.    {
  20.       tellTarget(_root)
  21.       {
  22.          gotoAndStop("Scena4");
  23.       }
  24.    }
  25.    else if(pom == "Scena5")
  26.    {
  27.       tellTarget(_root)
  28.       {
  29.          gotoAndStop("Scena5");
  30.       }
  31.    }
  32.    else if(pom == "Scena7")
  33.    {
  34.       tellTarget(_root)
  35.       {
  36.          gotoAndStop("Scena7");
  37.       }
  38.    }
  39.    else if(pom == "Scena9")
  40.    {
  41.       tellTarget(_root)
  42.       {
  43.          gotoAndStop("Scena9");
  44.       }
  45.    }
  46.    _root.s.gotoAndStop(eval("item" + index).spot);
  47.    _root.s._visible = false;
  48. }
  49.